
import { fetch } from '@/serve';

export function post(code: string) {
    return fetch('/user/login', {
        method: 'POST',
        body: JSON.stringify({ code }),
    })
}